package org.nerve.data.neo4j.domain;

import org.neo4j.ogm.annotation.GraphId;

/**
 * org.nerve.data.neo4j.domain
 * Created by zengxm on 12/13/2016.
 */
public abstract class BaseEntity {
	@GraphId
	private Long id;

	public Long getId() {
		return id;
	}

	public BaseEntity setId(Long id) {
		this.id = id;
		return this;
	}
}
